package com.burgeon.backend.SHOP.service;

import com.burgeon.backend.SHOP.entity.IndexCoupon;
import com.burgeon.backend.SHOP.service.ex.ErrorDataExceptionApp;
import com.burgeon.backend.entity.Coupon;

import java.util.List;

public interface AppCouponService {

    List<Coupon> getErpCoupon(String phone ,String token);

    void createIndexCoupon(String cid,String uid,String phone,String openid,String token) throws ErrorDataExceptionApp;

    List<IndexCoupon> getIndexCoupon(String uid,String token);

    List<Coupon> getVipShopCoupon(String phone,String token);

    List<Coupon> getUserCoupon(String[] gids,String phone,String price,String token);

    Coupon getCouponDetails(String token, String code);
}
